import { Component, OnInit } from '@angular/core';
import { Test08Service } from './test08.service';


@Component({
  selector: 'app-test08',
  templateUrl: './test08.component.html',
  styleUrls: ['./test08.component.css']
})

export class Test08Component implements OnInit {

  constructor(private  service:Test08Service) { }

  ngOnInit() {

  }

  onbtn_click_post(){
    this.service.getdata_post();
  }

  onbtn_click(){
    this.service.getdata();
  }

  onbtn_click_remote(){
    this.service.getdata_remote();
  }

  onbtn_click_cros(){
    this.service.getdata_cros();
  }
  onbtn_click_cros_local(){
    this.service.getdata_cros_local();
  }



}
